use chrono::prelude::*;
use expanduser::expanduser;
use log::trace;
use serde::Deserialize;
use serde::Serialize;
use std::path::PathBuf;
use std::{fs, io};

mod clean;
pub use clean::*;

mod context;
pub use context::*;

mod download;
pub use download::get_bing_wallpaper;

mod change;
pub use change::change_wallpaper;

pub const PROJECT_NAME: &str = "xfce-bing-everyday-wallpaper";

#[derive(Deserialize, Serialize, Debug, Default)]
struct Cfg {
    last_edit: u64,
}
